package com.zq.structure.bridge;

public class Client {
    public static void main(String[] args) {
        final ImageImp winImp = new WinImp();
        final ImageImp unixImp = new UnixImp();

        final Image winGif = new GifImage(winImp);
        final Image unixGif = new GifImage(unixImp);

        final Image winPng = new PngImage(winImp);
        final Image unixPng = new PngImage(unixImp);

        winGif.draw("1.gif");
        unixGif.draw("1.gif");

        winPng.draw("1.png");
        unixPng.draw("1.png");
    }
}
